Using [assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Windows")] To expose Int

Posted by Anthony on Stack Overflow See other posts from Stack Overflow or by Anthony
Published on 2010-05-19T23:41:40Z Indexed on 2010/05/20 0:20 UTC
Read the original article Hit count: 515

Filed under:
|

Ok so I had a qustion awhile back regarding Silverlight 4 Data Binding with anonymous types, one of the answers was to use [assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Windows")] in your AssemblyInfo.cs file.

I tried this and it works!
I know I'm making all my internal properties classes and methods visible to the System.Windows Assembley. But what kind of risk is this with the following in mind:

The product is a hosted silverlight based web application, so it wont be distributed.

Thanks in advance

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about c#